@import 'reset.css';
/*  动画的调用*/

.global-header {
  width: 100%;
  background-color: #fff;
  animation: appear 5s forwards;
}

.body {
  animation: down 3s forwards;
}

/*定义动画*/

@keyframes up {
  0% {
    margin-top: 800px;
  }
  100% {
    margin-top: 0px;
  }
}

@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes down {
  0% {
    margin-top: -800px
  }
  100% {
    margin-top: 0;
  }
}

.top-nav {
  position: relative;
  left: 10%;
  width: 80%;
  /*80%*/
  height: 90px;
  border: none;
  border-bottom: 1px solid #f2f2f2;
  background-color: #fff;
  transition: all 0.5s;
}

.qq-music {
  height: 90px;
  width: 170px;
  margin: 0 30px 0 0;
}

.logo {
  background-image: url(../image/music.png);
  width: 170px;
  height: 46px;
  background-size: 100% 100%;
  margin: 22px auto 22px;
}

.top {
  width: 1000px;
}

.top-ul {
  justify-content: space-between;
}

.t-item {
  display: block;
  width: 94px;
  transition: all 0.5s;
}

.top-a:hover {
  background-color: #31c27c;
}

.top-a {
  height: 90px;
  text-align: center;
  line-height: 90px;
  color: #000;
  font-size: 18px;
  display: block;
}

.search-wapper {
  border: 1px solid #c9c9c9;
  line-height: 40px;
  height: 40px;
  width: 220px;
  /*！！！！！*/
  border-radius: 3px;
  margin: 25px 0px 25px 17px;
  text-align: center;
  transition: all 0.5s;
}

.search {
  outline: 0;
  display: block;
  /* input 是行内元素*/
  width: 174px;
  /*174*/
  height: 24px;
  border: 0 none;
  font-size: 14px;
  line-height: 23px;
  margin: 9px 0 9px;
}

.search-but {
  display: block;
  width: 38px;
  height: 30px;
  outline: none;
  border: none;
  margin: 5px 0;
}

.but-logo {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../image/sousuo.svg);
  background-size: 100% 100%;
}

.login {
  display: block;
  width: 50px;
  height: 90px;
  line-height: 90px;
  text-align: center;
  /* margin: 0 0px 0 20px; */
}

.green-link {
  height: 90px;
}

.green {
  margin: 25px 10px 25px 10px;
  /**/
  display: block;
  height: 40px;
  width: 110px;
  line-height: 40px;
  background-color: #31c27c;
  font-size: 13px;
  color: #fff;
  text-align: center;
   transition: all 0.5s;
}

.green:hover {
  opacity: 0.7;
}

.bag-link {
  margin: 25px 10px 25px 10px;
  /*  10 10*/
  height: 40px;
  border: 1px solid #c9c9c9;
}

.bag {
  width: 85px;
  display: block;
  height: 40px;
  line-height: 40px;
  color: #000;
  font-size: 13px;
  text-align: center;
}

.bag:hover {
  background-color: #ccc;
  box-sizing: border-box;
}

/*  global-nav  做成媒体查询*/

/*顶栏下面一个导航栏*/

.sub-nav {
  height: 52px;
  width: 50%;
}

.sub-ul {
  justify-content: space-between;
}

.s-item {
  height: 50px;
  text-align: center;
  line-height: 50px;
}

.sub-a {
  font-size: 15px;
  height: 20px;
  line-height: 20px;
  color: #000;
}

.homepage {
  color: #31c27c;
}

.bg {
  width: 100%;
  background-image: url(../image/bg.jpg);
  background-position: 50% 0;
  background-size: 100% 100%;
}

.lists {
  width: 80%;
  /*80%         */
  height: 540px;
  margin-bottom: 20px;
}

.lists-h2 {
  display: block;
  height: 40px;
  margin: 0px auto 0px;
  padding: 30px 0;
  width: 200px;
  font-size: 32px;
  text-align: center;
  font-weight: 500;
}

.lists-ul {
  justify-content: space-between;
  width: 50%;
  background-color: transparent;
}

.lists-a {
  font-size: 15px;
  color: #333333;
  height: 32px;
  line-height: 32px;
  background-color: transparent;
}

/* 图片切换部分*/

.pages {
  width: 1200px;
  /*100%*/
  flex-shrink: 0;
  justify-content: space-between;
  margin: 20px auto 0px;
  overflow: hidden;
}

.page {
  justify-content: space-between;
  transition: all 0.5s linear;
  width: 1200px;
  /*              */
}

.one-wapper {
  width: 224px;
  height: 300px;
  cursor: pointer;
  display: block;
  background-color: transparent;
  margin: 0 5px 5px;
}

.page-img {
  width: 224px;
  height: 224px;
  width: 100%;
  height: 78%;
  flex-direction: column;
  /* flex 的快捷居中*/
  justify-content: center;
  align-items: center;
}

.play {
  height: 49px;
  width: 49px;
  height: 22%;
  widows: 22%;
  background-image: url(../image/play.png);
  background-size: 100% 100%;
  opacity: 0;
  display: block;
  transition: all 0.5s ease-in;
  /* 大小 ，透明度变化时调用 过渡 */
}

.play:hover {
  height: 70px;
  /*  宽高变大的同时 透明度变化*/
  width: 70px;
  opacity: 1;
}

.page-img:hover {
  opacity: 1;
}

.page-p1 {
  color: #000;
  font-size: 14px;
  margin: 10px 0 0;
  background-color: transparent;
}

.page-p2 {
  color: #999999;
  font-size: 14px;
  margin: 5px 0 0;
  background-color: transparent;
}

.page1-1 {
  background-image: url(../image/page1-1.jpg);
  background-size: 100% 100%;
  opacity: 0.9;
}

.page1-2 {
  background-image: url(../image/page1-2.jpg);
  background-size: 100% 100%;
  opacity: 0.9;
}

.page1-3 {
  background-image: url(../image/page1-3.jpg);
  background-size: 100% 100%;
  opacity: 0.9;
}

.page1-4 {
  background-image: url(../image/page1-4.jpg);
  background-size: 100% 100%;
  opacity: 0.9;
}

.page1-5 {
  background-image: url(../image/page1-5.jpg);
  background-size: 100% 100%;
  opacity: 0.9;
}

.hidden-ul {
  width: 50%;
  flex-direction: column;
  display: none;
}

.h-li {
  justify-content: space-around;
}

.new {
  width: 80%;
  height: 700px;
}

.new-font {
  width: 70%;
  height: 100px;
}

.sec {
  width: 80%;
  margin: 40px auto;
  flex-direction: row;
}

.secleft {
  width: 45%;
  flex-direction: column;
  justify-content: space-between;
  height: 500px;
}

.new-img {
  width: 86px;
  height: 86px;
  transition: transfrom 1s width 1s height 1s;
}

.new-img:hover {
  width: 92px;
  height: 92px;
  transform: translate(10px, 10px);
}

.img1 {
  background-image: url(../image/new-1.jpg);
  background-size: 100% 100%;
}

.img2 {
  background-image: url(../image/new-2.jpg);
  background-size: 100% 100%;
}

.img3 {
  background-image: url(../image/new-3.jpg);
  background-size: 100% 100%;
}

.small {
  justify-content: space-around;
  border-bottom: 1px solid #bda3a385;
  height: 100px;
}

.sec-p {
  height: auto;
  line-height: 86px;
  width: 140px;
}

.secp1 {
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  margin-bottom: 1px;
}

.secp2 {
  color: #999;
  height: 24px;
  line-height: 24px;
  font-size: 14px;
}

.secright {
  width: 45%;
  flex-direction: column;
  justify-content: space-between;
  height: 500px;
}

.img4 {
  background-image: url(../image/new-4.jpg);
  background-size: 100% 100%;
}

.img5 {
  background-image: url(../image/new-5.jpg);
  background-size: 100% 100%;
}

.img6 {
  background-image: url(../image/new-6.jpg);
  background-size: 100% 100%;
}

.auto-play {
  width: 80%;
  height: 540px;
}

.container {
  width: 800px;
  height: 300px;
  overflow: hidden;
}

.photos {
  width: 3200px;
  height: 300px;
  animation: switch 12s ease-out 10s infinite;
}

.auto-play img {
  width: 800px;
  height: 300px;
  /* border: 0; */
}
.photos a{
  display: block;
  width: 800px;
  height: 300px;
}

@keyframes switch {
  0% {
    margin-left: 0;
  }
  25% {
    margin-left: -800px;
  }
  75% {
    margin-left: -1600px;
  }
  100% {
    margin-left: -2400px;
  }
  125%{
    margin-left: 0;
  }
}
.auto-play .photos:hover{
  animation-play-state: paused;
}

.hovering {
  position: fixed;
  z-index: 1;
  height: 100px;
  width: 100px;
  background-color: #31c27c;
  background-image: url(../QQMusic.svg);
  background-size: 100% 100%;
  top: 50%;
  margin-top: -50px;
  right: 0;
  transition: all 1s linear;
}

.hovering:hover {
  top: 0;
  margin-top: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 1350px) {
  .search {
    display: none;
  }
  .search-wapper {
    width: auto;
  }
  .top-nav {
    width: 80%;
    /*60*/
    left: 10%;
  }
  .green {
    width: 60px;
  }
  .bag-link {
    display: none;
  }
}

@media only screen and (max-width:1236px) {
  .page {
    display: none;
  }
  .hidden-ul {
    display: flex;
  }
  .lists {
    height: auto;
  }
}

@media only screen and (max-width:770px) {
  .hovering {
    top: 0;
    margin-top: 0;
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width:960px) {
  .t-item {
    display: block;
    width: auto;
  }
}

@media only screen and (max-width:830px) {
  .t-item {
    display: block;
    width: 72px;
  }
}